package com.shansun.dataobj
{
	
	public class MethodDesc
	{
		private var _name:String;
		private var _params:Array;
		
		public function set name(value:String):void
		{
			this._name=value;
		}
		
		public function get name():String
		{
			return this._name;
		}
		
		public function set params(value:Array):void
		{
			this._params=value;
		}
		
		public function get params():Array
		{
			return this._params;
		}
		
		public function setParamValue(index:int, value:String):void
		{
			var param:ParamDesc = this._params[index]; 
			param.value=value; 
		}
		
		public function MethodDesc()
		{
			this._params=new Array();
		}
	}
}